<div class="view list-token-item">
<div class="span-2"><?php echo CHtml::link(CHtml::encode($data->submitDate),
						array(
							'view',
							'id' => $data->id
						), array(
							'target' => '_blank'
						));
					?></div>

<div class="span-3"><?php echo CHtml::encode($data->project->name); ?></div>
<div class="span-3">
	<?php echo CHtml::encode($data->getAttributeLabel('handler')); ?>:
	<?php echo CHtml::encode($data->handler); ?>
</div>
<div class="span-3">
	<?php echo CHtml::encode($data->getAttributeLabel('warehouseManagerId')); ?>:
	<?php echo CHtml::encode($data->warehouseManager->fullName); ?>
</div>
<div class="span-4">
	<?php echo CHtml::encode($data->getAttributeLabel('token')); ?>:
	<?php echo CHtml::encode($data->token); ?>
</div>
<div class="span-4 last">

	共 <?php echo CHtml::encode($data->itemCount); ?> 项物品
	<?php if($data->itemCount>3){ ?>
	(显示前3项)
	<?php }?>
</div>
<div class="clear"></div>
<?php if ($data->note) { ?>
<div><?php echo CHtml::encode($data->getAttributeLabel('note')); ?>:
	<?php echo CHtml::encode($data->note); ?></div>
<?php } ?>
<?php if($data->itemCount>0){ ?>
<div class="item-list-grid">
<?php
$this->renderPartial('_itemList', array(
		'items' => $data->itemsQuick
	));
?>
</div>
<div class="clear"></div>
<?php } ?>
<div class="span-16 item-meta">
	<?php echo CHtml::encode($data->createUser->employee->fullName); ?>
	(<?php echo CHtml::encode($data->createTime); ?>)
</div>
<div class="span-3"><?php echo CHtml::link('查看详情',
						array(
							'view',
							'id' => $data->id
						), array(
							'target' => '_blank'
						));
					?></div>
<div class="clear"></div>

</div>